package infoholders;

import people.Doctor;
import people.Patient;

public class DoctorsOrders {

	private String message;
	private Prescription prescriptionOrder;
	private Treatment treatmentOrder;
	private String comments;
	private Doctor doctor;
	private Patient patient;
	private LabWorkReport labReport;

	public DoctorsOrders(String aMessage) {
		setMessage(aMessage);
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setPrescriptionOrder(Prescription prescriptionOrder) {
		this.prescriptionOrder = prescriptionOrder;
	}

	public Prescription getPrescriptionOrder() {
		return prescriptionOrder;
	}

	public void setTreatmentOrder(Treatment treatmentOrder) {
		this.treatmentOrder = treatmentOrder;
	}

	public Treatment getTreatmentOrder() {
		return treatmentOrder;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getComments() {
		return comments;
	}

	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	public Patient getPatient() {
		return patient;
	}

	public String toString() {
		return "Doctor " + doctor.getLastName() + "'s  Order.\n\n" + message;
	}

	public void setLabReport(LabWorkReport labReport) {
		this.labReport = labReport;
	}

	public LabWorkReport getLabReport() {
		return labReport;
	}
}
